Skip to content

Conversation

@ashutosh7i
Copy link
Contributor

Related Issues

#639

Short Description and Why It's Useful

Fixed the double-click issue by adding loading states for accepting, recounting, and updating item statuses and disabled buttons until action completes.

Screenshots of Visual Changes before/after (If There Are Any)

Screencast.from.04-03-25.04.46.55.PM.IST.webm

Contribution and Currently Important Rules Acceptance

…g, recounting, and updating item statuses and disabled buttons untill action complete in Pending Review Tab (hotwax#639)
… for item actions in Pending Review Tab and removed stale changes. (hotwax#639)
…or item actions in Pending Review Tab and updated footer loading state. (hotwax#639)
@ashutosh7i
Copy link
Contributor Author

current checks-

  • Disable bottom toolbar when two or more items are selected and an action is performed on one of the item's toolbar.
  • Disable bottom toolbar when only a single item is selected and an action is performed on it.
  • Disable individual item buttons when a bulk action is running to prevent user interaction during the bulk operation.

Comment on lines +240 to +242
const isAnyItemUpdating = computed(() => {
return Object.values(isUpdatingItem.value).some((isUpdating) => isUpdating);
});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const isAnyItemUpdating = computed(() => {
return Object.values(isUpdatingItem.value).some((isUpdating) => isUpdating);
});
const isAnyItemUpdating = computed(() => Object.values(isUpdatingItem.value).some((isUpdating) => isUpdating));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants